// import com.alibaba.druid.sql.ast.SQLName;
// import com.alibaba.druid.sql.ast.statement.SQLAlterDatabaseItem;
// import com.alibaba.druid.sql.dialect.mysql.ast.MySqlObjectImpl;
// import com.alibaba.druid.sql.dialect.mysql.visitor.MySqlASTVisitor;

#include "MySqlAlterDatabaseKillJob.h"
#include "../../../../ast/SQLName.h"
#include "../../visitor/MySqlASTVisitor.h"

// @Override
void MySqlAlterDatabaseKillJob::accept0(MySqlASTVisitor_ptr visitor)
{
  if (visitor->visit(SharedObject(MySqlAlterDatabaseKillJob)))
  {
    acceptChild(visitor, jobType);
    acceptChild(visitor, jobId);
  }
  visitor->endVisit(SharedObject(MySqlAlterDatabaseKillJob));
}

SQLName_ptr MySqlAlterDatabaseKillJob::getJobType()
{
  return jobType;
}

void MySqlAlterDatabaseKillJob::setJobType(SQLName_ptr jobType)
{
  this->jobType = jobType;
}

SQLName_ptr MySqlAlterDatabaseKillJob::getJobId()
{
  return jobId;
}

void MySqlAlterDatabaseKillJob::setJobId(SQLName_ptr jobId)
{
  this->jobId = jobId;
}
